import Vue from 'vue';
import iView from 'iview';

import VueRouter from 'vue-router';

import {routers, appRouter} from './router';

Vue.use(VueRouter);

// 路由配置
const RouterConfig = {
    // mode: 'history',
    routes: routers
};

// 导出
export const router = new VueRouter(RouterConfig);
